package com.work.studio.net;
import com.work.studio.net.api.NetProvider;
import com.work.studio.net.api.NetProviderImpl;

public class NetManager {
    private static volatile NetProvider provider;

    private NetManager() {
    }

    public static NetProvider getNet() {
        if (provider == null) {
            synchronized (NetManager.class) {
                provider = new NetProviderImpl();
            }
        }
        return provider;
    }
}
